class CreateBrands < ActiveRecord::Migration[5.2]
  def change
    create_table :brands do |t|
      t.string :name
      t.integer :shop_category_id
      t.string :avatar
      t.boolean :published, default: false
      t.text :intro
      t.integer :sort, default: 0
      t.string :big_avatar

      t.timestamps
    end
  end
end
